package com.leyou.domain;

import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.List;

@Table(name = "tb_permission")
@Data
public class Permission {
   @Id
   private Long id;
   private String childrenName;
   private String childrenPath;
   private Long parentId;
   private String parentName;
   private Integer sort;
   private String parentPath;
   private Boolean isParent;
   private List<Permission> permissions;
}